<?php
if(!defined('IN_UCHOME')) {
	exit('Access Denied');
}
/*
	[Ucenter Home] (C) 2007-2008 Comsenz Inc.
	$Id: config.new.php 9293 2008-10-30 06:44:42Z liguode $
*/

//系统默认角色
//1	站点管理员	-1
//2	信息管理员	-1
//3	经纪人	1
//6	普通用户	0
//8	区域专员	-1
//9	360团队	-1
//10	开发商	1

//Ucenter Home配置参数
$_SC = array();
$_SC['dbhost']  		= 'localhost'; //服务器地址
$_SC['dbuser']  		= 's496023db0'; //用户
$_SC['dbpw'] 	 		= '5bhckxf3'; //密码
$_SC['dbcharset'] 		= 'utf8'; //字符集
$_SC['pconnect'] 		= 0; //是否持续连接
$_SC['dbname']  		= 's496023db0'; //数据库
$_SC['tablepre'] 		= 'api_'; //表名前缀
$_SC['charset'] 		= 'utf-8'; //页面字符集

$_SC['gzipcompress'] 	= 0; //启用gzip

$siteurl = "http://".$_SERVER['HTTP_HOST'];
// file_put_contents("./siteurl.html", $siteurl);
$_SC['attachdir']		= S_ROOT.'./api/upload/'; //附件本地保存位置(服务器路径, 属性 777, 必须为 web 可访问到的目录, 相对目录务必以 "./" 开头, 末尾加 "/")
$_SC['attachurl']		= $siteurl.'/api/upload/'; //附件本地URL地址(可为当前 URL 下的相对地址或 http:// 开头的绝对地址, 末尾加 "/")

$_SC['square_bg'] = S_ROOT."./api/image/200_200_bg.jpg";//缩略图背景

$_SC['siteurl']			= ''; //站点的访问URL地址(http:// 开头的绝对地址, 末尾加 "/")，为空的话，系统会自动识别。

$_SC['tplrefresh']		= 0; //判断模板是否更新的效率等级，数值越大，效率越高; 设置为0则永久不判断

//Ucenter Home安全相关
$_SC['founder'] 		= '1'; //创始人 UID, 可以支持多个创始人，之间使用 “,” 分隔。部分管理功能只有创始人才可操作。
$_SC['allowedittpl']	= 0; //是否允许在线编辑模板。为了服务器安全，强烈建议关闭

$_SGLOBAL=Array
(
		'sitename' => '买房快线',
		'template' => 'blue',
		'adminemail' => 'webmaster@www.916178.com',
		'onlinehold' => 1800,
		'timeoffset' => 8,
		'maxpage' => 100,
		'starcredit' => 100,
		'starlevelnum' => 5,
		'cachemode' => 'database',
		'cachegrade' => '0',
		'allowcache' => 1,
		'allowdomain' => '0',
		'allowrewrite' => '0',
		'allowwatermark' => '0',
		'allowftp' => '0',
		'holddomain' => 'www|*blog*|*space*|x',
		'mtagminnum' => 5,
		'feedday' => 7,
		'feedmaxnum' => 100,
		'feedfilternum' => 10,
		'importnum' => 100,
		'maxreward' => 10,
		'singlesent' => 50,
		'groupnum' => 8,
		'closeregister' => 1,
		'closeinvite' => 1,
		'close' => '0',
		'networkpublic' => 1,
		'networkpage' => 1,
		'seccode_register' => 1,
		'uc_tagrelated' => 1,
		'manualmoderator' => 1,
		'linkguide' => '0',
		'showall' => 1,
		'sendmailday' => '0',
		'realname' => '0',
		'namecheck' => '0',
		'namechange' => '0',
		'name_allowviewspace' => 1,
		'name_allowfriend' => 1,
		'name_allowpoke' => 1,
		'name_allowdoing' => 1,
		'name_allowblog' => '0',
		'name_allowalbum' => '0',
		'name_allowthread' => '0',
		'name_allowshare' => '0',
		'name_allowcomment' => '0',
		'name_allowpost' => '0',
		'showallfriendnum' => 10,
		'feedtargetblank' => 1,
		'feedread' => 1,
		'feedhotnum' => 3,
		'feedhotday' => 2,
		'feedhotmin' => 3,
		'feedhiddenicon' => 'friend,profile,task,wall',
		'uc_tagrelatedtime' => 86400,
		'privacy' => Array
		(),
		'cronnextrun' => 1320739800,
		'my_status' => '0',
		'uniqueemail' => 1,
		'updatestat' => 1,
		'my_showgift' => 1,
		'topcachetime' => 60,
		'newspacenum' => 3,
		'sitekey' => '17603aCljkPxn6X5',
		'siteallurl' => 'http://localhost/mfkx/',
		'licensed' => '0',
		'debuginfo' => 1,
		'miibeian' => '',
		'headercharset' => '0',
		'avatarreal' => '0',
		'uc_dir' => '',
		'my_ip' => '',
		'closereason' => '',
		'checkemail' => '0',
		'regipdate' => '',
		'my_closecheckupdate' => '0',
		'openxmlrpc' => '0',
		'domainroot' => '',
		'name_allowpoll' => '0',
		'name_allowevent' => '0',
		'name_allowuserapp' => '0',
		'video_allowviewphoto' => '0',
		'video_allowfriend' => '0',
		'video_allowpoke' => '0',
		'video_allowwall' => '0',
		'video_allowcomment' => '0',
		'video_allowdoing' => '0',
		'video_allowblog' => '0',
		'video_allowalbum' => '0',
		'video_allowthread' => '0',
		'video_allowpoll' => '0',
		'video_allowevent' => '0',
		'video_allowshare' => '0',
		'video_allowpost' => '0',
		'video_allowuserapp' => '0',
		'ftpurl' => '',
		'newspaceavatar' => '0',
		'newspacerealname' => '0',
		'newspacevideophoto' => '0',
		'login_action' => 'login',
		'register_action' => 'register',
		'seccode_login' => '0',
		'questionmode' => '0',
		'need_email' => '0',
		'newusertime' => '',
		'need_avatar' => '0',
		'need_friendnum' => ''
)
?>